import { FormType } from '@/base-ui/base-form/type'
import { IModalConfig } from '@/components/page-modal/type'
import { ActionDesc } from '@/global/constant'

const questionListModalDetail: IModalConfig = {
  modalProps: {
    title: '详情',
    width: 650,
    maskClosable: true,
    closable: false
  },
  formProps: {
    desc: ActionDesc.QuestionDetail,
    layout: { span: 24 },
    formConfig: {
      name: 'questionList-detail',
      size: 'small',
      // wrapperCol: { offset: 4 },
      colon: false
    },
    itemsConfig: [
      {
        type: FormType.Custom,
        prop: 'detail',
        customkey: 'detail'
      }
    ]
  }
}

export default questionListModalDetail
